package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huyalin
 * @since 2018-09-03
 */
@TableName("log_click_count")
public class LogClickCount extends Model<LogClickCount> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    @TableField("channel_id")
    private Long channelId;
    @TableField("count_type_code")
    private String countTypeCode;
    @TableField("count_type_name")
    private String countTypeName;
    @TableField("value_code")
    private String valueCode;
    @TableField("value_name")
    private String valueName;
    @TableField("create_time")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public String getCountTypeCode() {
        return countTypeCode;
    }

    public void setCountTypeCode(String countTypeCode) {
        this.countTypeCode = countTypeCode;
    }

    public String getCountTypeName() {
        return countTypeName;
    }

    public void setCountTypeName(String countTypeName) {
        this.countTypeName = countTypeName;
    }

    public String getValueCode() {
        return valueCode;
    }

    public void setValueCode(String valueCode) {
        this.valueCode = valueCode;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LogClickCount{" +
        "id=" + id +
        ", userId=" + userId +
        ", channelId=" + channelId +
        ", countTypeCode=" + countTypeCode +
        ", countTypeName=" + countTypeName +
        ", valueCode=" + valueCode +
        ", valueName=" + valueName +
        ", createTime=" + createTime +
        "}";
    }
}
